<!DOCTYPE html>

<html lang="en">
  <head>
      <meta charset="UTF-8">
      <title>setTimeout</title>
      <script>
          let timer ;
          let x = {
              nickname: '拐角遇到肘子' ,
              welcome(){
                  timer = setTimeout( function(){
                      console.log( this === timer );
                      console.log( this );
                  } , 5000 );
              }
          }

          x.welcome();

          console.log( x );
      </script>
  </head>

  <body>

  </body>
</html>